package com.jintu.portal.repository.mysql.mapper;

import com.jintu.portal.pojo.entity.mysql.ParamDataSource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author very
 */
@Mapper
public interface ParamDataSourceMapper {

    public List<ParamDataSource> queryParamDataSourceByScoreId(@Param("scoreCardId") Integer scoreId);

    public List<ParamDataSource> queryParamDataSourceByRuleChainId(@Param("ruleChainId") Integer ruleChainId);

    public ParamDataSource queryParamDataSourceByCode(@Param("paramDataSourceCode") String paramDataSourceCode);
}
